package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

@Data
@Builder
public class CardInfoResponse {
    @ApiModelProperty(value = "客户列表", dataType = "CardInfoResponse.Customer")
    private PageResponse2<Customer> customerPage;

    @ApiModel("CardInfoResponse.Customer")
    @Data
    @Builder
    public static class Customer {
        @ApiModelProperty("客户ID")
        private Integer userId;
        @ApiModelProperty("客户头像")
        private String logo;
        @ApiModelProperty("客户名称")
        private String name;
        @ApiModelProperty("访问次数")
        private Integer count;
        @ApiModelProperty("录入时间(时间戳)")
        private Long time;
        @ApiModelProperty("聊天ID")
        private String chatId;
        @ApiModelProperty("微信号")
        private String wechatId;
        @ApiModelProperty("电话")
        private String phone;
    }
}
